﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPF_MVVM_Sample
{
    public class UserRecordViewModel
    {
        private User _user;

        public UserRecordViewModel(User user)
        {
            _user = user;
        }

        public string FullName
        {
            get { return _user.FirstName + " " + _user.LastName; }
        }

        public User Model
        {
            get { return _user; }
        }
    }
}
